package com.hsu.apigateway;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.stereotype.Service;

/**
 * Hsu API 网关应用程序
 * @ClassName: HsuApiGatewayApplication
 * @author Hsu琛君珩
 * @date 2024-09-07
 * @apiNote
 * @Version: v1.0
 */
@EnableDubbo
@Service
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        HibernateJpaAutoConfiguration.class})
public class HsuApiGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(HsuApiGatewayApplication.class, args);
    }
}
